package com.hornsun.domain.dbo;

import java.util.Date;

public class Material {
    private String materialGuid;

    private String image;

    private String desciption;

    private String content;

    private Byte type;

    private Date updatetime;

    private String detailImage;

    public String getMaterialGuid() {
        return materialGuid;
    }

    public void setMaterialGuid(String materialGuid) {
        this.materialGuid = materialGuid == null ? null : materialGuid.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getDesciption() {
        return desciption;
    }

    public void setDesciption(String desciption) {
        this.desciption = desciption == null ? null : desciption.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getDetailImage() {
        return detailImage;
    }

    public void setDetailImage(String detailImage) {
        this.detailImage = detailImage == null ? null : detailImage.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", materialGuid=").append(materialGuid);
        sb.append(", image=").append(image);
        sb.append(", desciption=").append(desciption);
        sb.append(", content=").append(content);
        sb.append(", type=").append(type);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", detailImage=").append(detailImage);
        sb.append("]");
        return sb.toString();
    }
}